package com.wx_shop.api.controller.api;

import javax.annotation.Resource;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

import com.wx_shop.api.service.MineService;
import com.wx_shop.api.vo.BaseRes;
import com.wx_shop.api.vo.MineDataVo;

/** 我的个人主页 **/
@Controller
@RequestMapping("api/mine")
public class MineRest {

	@Resource
	private MineService mineService;
	
	@RequestMapping(value = "orderStatus", method = RequestMethod.POST)
	public @ResponseBody BaseRes<MineDataVo> orderStatus() {
		return mineService.orderStatus();
	}
	
}
